<route lang="json5" type="page">
{
  style: {
    navigationBarTitleText: '用户协议',
    navigationStyle: 'default',
  },
}
</route>

<template>
  <view class="container">
    <web-view :src="url" style="flex: 1" />
  </view>
</template>

<script setup lang="ts">
import { ref, onMounted } from 'vue'

const BASE_URL = import.meta.env.VITE_AGREEMENT_URL

const url = `${BASE_URL}/userAgment.html`
</script>

<style scoped>
.container {
  height: 100vh;
  display: flex;
  flex-direction: column;
}
</style>
